package four.book.dao;

import java.util.List;

import four.book.entity.Order;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer orderId);//删除订单

    int insert(Order record);//新增订单

    int insertSelective(Order record);//新增订单

    Order selectByPrimaryKey(Integer orderId);//订单id查询订单

    int updateByPrimaryKeySelective(Order record);//修改订单
    List<Order> selectorder(int userid);//用户查询订单
    int updateByPrimaryKey(Order record);//修改订单
}